import request from '@/utils/request'

// 查询排班状态列表
export function listSchedulingstatus(query) {
  return request({
    url: '/system/schedulingstatus/list',
    method: 'get',
    params: query
  })
}

// 查询排班状态详细
export function getSchedulingstatus(id) {
  return request({
    url: '/system/schedulingstatus/' + id,
    method: 'get'
  })
}

// 新增排班状态
export function addSchedulingstatus(data) {
  return request({
    url: '/system/schedulingstatus',
    method: 'post',
    data: data
  })
}

// 修改排班状态
export function updateSchedulingstatus(data) {
  return request({
    url: '/system/schedulingstatus',
    method: 'put',
    data: data
  })
}

// 删除排班状态
export function delSchedulingstatus(id) {
  return request({
    url: '/system/schedulingstatus/' + id,
    method: 'delete'
  })
}
